﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IconYuan.Model.Entity.Carts
{
    /// <summary>
    /// 购物车
    /// </summary>
    [SugarTable("t_cart")]
    public class Cart
    {
        /// <summary>
        /// 自增id
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public int id { get; set; }
        public int user_id { get; set; }
        /// <summary>
        /// 商品ID
        /// </summary>
        public int goods_id { get; set; }
        /// <summary>
        /// 商品sku唯一标识
        /// </summary>
        public int goods_sku_id { get; set; }
        public int goods_num { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public int is_delete { get; set; }
        public int store_id { get; set; }
        public DateTime create_time { get; set; }
        public DateTime update_time { get; set; }
    }
}
